<%@ page language="java"%>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>



 <script LANGUAGE="JavaScript">
  var isNS = (navigator.appName == "Netscape") ? 1 : 0;  
  if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);  
  function mischandler(){   return false; }  
  function mousehandler(e){ 	
	  var myevent = (isNS) ? e : event; 	
	  var eventbutton = (isNS) ? myevent.which : myevent.button;    
	  if((eventbutton==2)||(eventbutton==3)) 
		  return false; 
  } 
  		document.oncontextmenu = mischandler; 
  		document.onmousedown = mousehandler; 
  		document.onmouseup = mousehandler;  
</script>

<%

String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

System.out.println("basePath : " + basePath);
	
%>

<div> 
	<iframe src="<%=basePath%>DrawDocument#navpanes=0&statusbar=0" style="width:100%;height:610px;" name="frame1"  scrolling="yes"  > 
	</iframe>
</div>


	
					